package com.example.demo.service.Impl;

import com.example.demo.mapper.PatientFlowMapper;
import com.example.demo.module.entity.PatientFlow;
import com.example.demo.service.PatientFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatientFlowServiceImpl implements PatientFlowService {
    @Autowired
    private PatientFlowMapper patientFlowMapper;

    @Override
    public List<PatientFlow> findAll() throws Exception {
        return patientFlowMapper.selectAll();
    }
}
